.xterm-viewport {
    width: 100% !important;
}

.xterm .xterm-screen canvas {
    padding: 5px;
}

#terminal div {
    height: 100%;
}